/*
 * util.h
 *
 * Utility functions for the operating system.
 *
 *  Created on: 13.01.2013
 *      Author: Michael
 */

#ifndef UTIL_H_
#define UTIL_H_

/*
 * Start an atomic operation.
 * This function will deactivate all interrupts.
 */
void ATOMIC_START(void);

/*
 * End an atomic operation.
 * This function will activate all interrupts.
 */
void ATOMIC_END(void);

#endif /* UTIL_H_ */
